﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TeacherAdd.aspx.cs" Inherits="UI.ModTrain.TeacherAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>增加培训讲师</title>
     <link rel="stylesheet" type="text/css" href="../Styles/BaseStyle.css" />
    <script type="text/javascript" src="../JS/jsFunction.js"></script>
    <script src="../JS/calendar.js" type="text/javascript"></script>
     <style type="text/css">
      
        .style1
        {
            width: 125px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <br />
    &nbsp;<br />
    &nbsp;<p style="text-align: center; font-size: large;">
        <strong>培训师管理</strong></p>
    <br />
    <table style="width: 60%;" align="center">
        <tr>
            <td class="style1">
                讲师编号
            </td>
            <td>
                <asp:TextBox ID="txtTeacherCode" runat="server" CssClass="InputCss" Width="100px" 
                    TabIndex="0"  ></asp:TextBox>
           
                &nbsp;<asp:CheckBox ID="cbIsInner" runat="server" Text="内部讲师" />
           
                <asp:RequiredFieldValidator ID="rf5"  ControlToValidate="txtTeacherCode" 
                    runat="server" ErrorMessage="必填项" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style1">
                姓名
            </td>
            <td>
                <asp:TextBox ID="txtCnName" runat="server" CssClass="InputCss" Width="100px" TabIndex="1" onkeydown="if(event.keyCode==13)event.keyCode=9" ></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style1">
                英文姓名
            </td>
            <td>
                <asp:TextBox ID="txtEnName" runat="server" CssClass="InputCss" Width="100px"  onkeydown="if(event.keyCode==13)event.keyCode=9" 
                    TabIndex="2"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style1">
               性别
            </td>
            <td>
            <asp:DropDownList ID="ddlSex" runat="server" CssClass="InputCss" TabIndex="3">
                        <asp:ListItem>男</asp:ListItem>
                        <asp:ListItem>女</asp:ListItem>
                    </asp:DropDownList>
            </td>
        </tr>
        
        <tr>
            <td class="style1">
               头衔
            </td>
            <td>
               <asp:TextBox ID="txtTitle" runat="server" CssClass="InputCss" Width="220px" 
                    onkeydown="if(event.keyCode==13)event.keyCode=9"  tabindex="4"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style1">
                加入时间&nbsp;
            </td>
            <td>
                <asp:TextBox ID="txtJoinTime" runat="server"  maxlength="10" onclick="setday(this,false)" onkeypress="return validateKey(this,false, getkeyCode(event));" style="ime-mode:Disabled;" 
                    CssClass="InputCss" Width="100px" TabIndex="5" onkeydown="if(event.keyCode==13)event.keyCode=9" ></asp:TextBox>
            </td>
        </tr>
         <tr>
            <td class="style1">
               联系方法
            </td>
            <td>
               <asp:TextBox ID="txtLinkWay" runat="server" CssClass="InputCss" Width="220px" 
                    onkeydown="if(event.keyCode==13)event.keyCode=9"  tabindex="6"></asp:TextBox>
            </td>
        </tr>
         <tr>
            <td class="style1">
               地址
            </td>
            <td>
               <asp:TextBox ID="txtAddr" runat="server" CssClass="InputCss" Width="220px" 
                    onkeydown="if(event.keyCode==13)event.keyCode=9"  tabindex="7"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style1">
                所属公司
            </td>
            <td>
                <asp:TextBox ID="txtFromCom" runat="server" CssClass="InputCss" Width="220px" 
                    tabindex="8" onkeydown="if(event.keyCode==13)event.keyCode=9" ></asp:TextBox>               
            </td>
        </tr>
          <tr>
            <td class="style1">
                培训领域
            </td>
            <td>
                <asp:TextBox ID="txtTrainField" runat="server" CssClass="InputCss" Width="395px" 
                    tabindex="9" onkeydown="if(event.keyCode==13)event.keyCode=9" ></asp:TextBox>
                    
            </td>
       
          <tr>
            <td class="style1">
                个人介绍
            </td>
            <td>
               <asp:TextBox ID="txtProfile" runat="server" CssClass="InputCss" 
                    tabindex="10" onkeydown="if(event.keyCode==13)event.keyCode=9" Rows="8" 
                    TextMode="MultiLine" Width="400px" ></asp:TextBox>
              
            </td>
        </tr>
        <tr>
            <td class="style1">
                备注
            </td>
            <td>
                <asp:TextBox ID="txtMemo" runat="server" CssClass="InputCss" Width="395px" 
                    TabIndex="11" onkeydown="if(event.keyCode==13)event.keyCode=9" ></asp:TextBox>
            </td>
        </tr>
        
    </table>
    <p style="text-align: center;">
    <asp:Button ID="btnAdd" runat="server" Text="增加" OnClick="btnAdd_Click" 
            TabIndex="12" />
    &nbsp;<asp:Button ID="btnReset" runat="server" Text="清空" OnClick="btnReset_Click" 
            TabIndex="13" style="height: 21px" />
    &nbsp;<asp:Button ID="btnUpdate" runat="server" Text="更新" OnClick="btnUpdate_Click" 
            TabIndex="14" Enabled="False" />
    &nbsp;<asp:Button ID="btnDelete" runat="server" Text="删除" OnClick="btnDelete_Click"  OnClientClick="return confirm('确定要删除吗?\n');"
            TabIndex="15" Enabled="False" />
    &nbsp;<asp:Button ID="btnClose" runat="server" onclick="btnClose_Click" Text="关闭" 
            TabIndex="16" CausesValidation="False" style="height: 21px" />
    </p>
    </form>
</body>
</html>
